package com.yj.suncity.bean;

import org.json.JSONObject;

public class OfferPersonBean {

	private String id;// ": "27c19669-6d28-4c8e-9027-709d97da4954",
	private String ent_logo;// ": "/upload/201504/19/201504191215098670.png",
	private String offer_content;// ": "悬赏5",
	private String username;// ": "shanghu",
	private String realname;// ": "",
	private String telphone;// ": "18903403736",
	private String head_photo;// ": "/upload/201504/17/201504172106410690.png",
	private String hold_datetime;// ": "1429330543",
	private String positionid;// ": "工兵",
	private String is_finish;// ": "2",
	private String finish_datetime;// ": ""

	public OfferPersonBean(JSONObject json) {
		this.id = json.optString("id");
		this.ent_logo = json.optString("ent_logo");
		this.offer_content = json.optString("offer_content");
		this.username = json.optString("username");
		this.realname = json.optString("realname");
		this.telphone = json.optString("telphone");
		this.head_photo = json.optString("head_photo");
		this.hold_datetime = json.optString("hold_datetime");
		this.positionid = json.optString("positionid");
		this.is_finish = json.optString("is_finish");
		this.finish_datetime = json.optString("finish_datetime");
	}

	public String getId() {
		return id;
	}

	public String getEnt_logo() {
		return ent_logo;
	}

	public String getOffer_content() {
		return offer_content;
	}

	public String getUsername() {
		return username;
	}

	public String getRealname() {
		return realname;
	}

	public String getTelphone() {
		return telphone;
	}

	public String getHead_photo() {
		return head_photo;
	}

	public String getHold_datetime() {
		return hold_datetime;
	}

	public String getPositionid() {
		return positionid;
	}

	public String getIs_finish() {
		return is_finish;
	}

	public String getFinish_datetime() {
		return finish_datetime;
	}

}
